﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MenuLeft.ascx.cs" Inherits="MLM.AdminCP.Controls.MenuLeft" %>
<%if (MLM.AdminCP.Permission.IsAdmin())
  {%>
<h3>
    <%=Resources.MLM.Common%></h3>
<ul class="toggle">
    <li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/LanguageMananger.aspx"
            meta:resourcekey="HyperLinkResource1" Text="Language Management"></asp:HyperLink></li>
    <li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/LanguageTranslatorTool.aspx"
            meta:resourcekey="HyperLinkResource2" Text="Language Translator
        tool"></asp:HyperLink></li>
    <li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/CurrencyManagement.aspx"
            meta:resourcekey="HyperLinkResource3" Text="Currency Management"></asp:HyperLink></li>
    <li class="icn_categories">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/CountryMananger.aspx"
            meta:resourcekey="HyperLinkResource4" Text="Country Management"></asp:HyperLink></li>
    <%--<li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/CityMananger.aspx" meta:resourcekey="HyperLinkResource5"
            Text="City Management"></asp:HyperLink></li>--%>
    <li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/TaxMananger.aspx" meta:resourcekey="HyperLinkResource6"
            Text="Tax Management"></asp:HyperLink></li>
</ul>
<h3>
    <%=Resources.MLM.Users %></h3>
<ul class="toggle">
    <li class="icn_new_article">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/GroupManager.aspx" meta:resourcekey="HyperLinkResource7"
            Text="Group Management"></asp:HyperLink></li>
    <li class="icn_edit_article">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/UserRank.aspx" meta:resourcekey="HyperLinkResource8"
            Text="Rank Management"></asp:HyperLink></li>
    <li class="icn_add_user">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/SettingUser.aspx" meta:resourcekey="HyperLinkResource9"
            Text="User Settings"></asp:HyperLink></li>
    <li class="icn_view_users">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/UserInfo.aspx" meta:resourcekey="HyperLinkResource10"
            Text="User Infomations"></asp:HyperLink></li>
    <li class="icn_profile">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/UserBank.aspx" meta:resourcekey="HyperLinkResource11"
            Text="User Bank Info"></asp:HyperLink></li>
    <li class="icn_profile">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/ResetDistributorPassword.aspx"
            meta:resourcekey="HyperLinkResource12" Text="Reset
        Distributor Password"></asp:HyperLink></li>
</ul>
<h3>
    <%=Resources.MLM.Dashboard%></h3>
<ul class="toggle">
    <li class="icn_photo">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/NewsMananger.aspx" meta:resourcekey="HyperLinkResource13"
            Text="News Management"></asp:HyperLink></li>
    <li class="icn_photo">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/News.aspx" meta:resourcekey="HyperLinkResource14"
            Text="News"></asp:HyperLink></li>
</ul>
<h3>
    <%=Resources.MLM.Product%></h3>
<ul class="toggle">
    <li class="icn_settings">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/ProductCategoryMananger.aspx"
            meta:resourcekey="HyperLinkResource15" Text="Product
        Category"></asp:HyperLink></li>
    <li class="icn_security">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/ProductMananger.aspx"
            meta:resourcekey="HyperLinkResource16" Text="Product"></asp:HyperLink></li>
    <li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/ProductPrice.aspx" meta:resourcekey="HyperLinkResource17"
            Text="Product Price"></asp:HyperLink></li>
    <li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/ProductDescription.aspx"
            meta:resourcekey="HyperLinkResource18" Text="Product Info"></asp:HyperLink></li>
    <li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/ProductOrder.aspx" meta:resourcekey="HyperLinkResource19"
            Text="Product Orders"></asp:HyperLink></li>
</ul>
<h3>
    <%=Resources.MLM.MarketingManagement %></h3>
<ul class="toggle">
    <li class="icn_edit_article">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/CarrierBonusConfig.aspx"
            meta:resourcekey="HyperLinkResource20" Text="Carrier
        Bonus Config"></asp:HyperLink></li>
    <li class="icn_edit_article">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/YearBonusConfig.aspx"
            meta:resourcekey="HyperLinkResource21" Text="Year Bonus
        Config"></asp:HyperLink></li>
    <li class="icn_edit_article">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/DeepnesBonusConfig.aspx"
            meta:resourcekey="HyperLinkResource22" Text="Deepnes
        Bonus Config"></asp:HyperLink></li>
    <li class="icn_categories">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/UserBonusCalculator.aspx"
            meta:resourcekey="HyperLinkResource23" Text="User Bonus
        Calculator"></asp:HyperLink></li>
    <li class="icn_categories">
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/AdminCP/Pages/BonusDetailByMonthRecursive.aspx"
            meta:resourcekey="HyperLink1Resource1" Text="User Bonus
        Detail By Month"></asp:HyperLink></li>
    <li class="icn_categories">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/UserHierarchy.aspx" meta:resourcekey="HyperLinkResource24"
            Text="User Hierarchy"></asp:HyperLink></li>
    <li class="icn_categories">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/BonusPayingManager.aspx"
            meta:resourcekey="HyperLinkResource25" Text="Bonus Paying Manager"></asp:HyperLink></li>
    <li class="icn_categories">
        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/AdminCP/Pages/CreateBill.aspx"
            meta:resourcekey="HyperLinkResource2435" Text="Create new bill"></asp:HyperLink></li>
    <li class="icn_categories">
        <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/AdminCP/Pages/CreatedBill.aspx"
            meta:resourcekey="HyperLinkResource243232335" Text="Created bill"></asp:HyperLink></li> 
            
            <li class="icn_categories">
        <asp:HyperLink ID="HyperLink3323" runat="server" NavigateUrl="~/AdminCP/Pages/Marketingplan.aspx"
            meta:resourcekey="HyperLinkResource243232332323543" Text="Marketing plan"></asp:HyperLink></li>
            <li class="icn_categories">
        <asp:HyperLink ID="HyperLink8trt" runat="server" NavigateUrl="~/AdminCP/Pages/Shippingfee.aspx"
            meta:resourcekey="HyperLinkResource24323233232354dc3" Text="Shipping Fee"></asp:HyperLink></li>
</ul>
<h3>
    <%=Resources.MLM.FrontEndManagement %></h3>
<ul class="toggle">
    <li class="icn_photo">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/FrontEndNewsManager.aspx"
            meta:resourcekey="HyperLinkResource26" Text="Front-end News
        Management"></asp:HyperLink></li>
</ul>
<h3>
    <%=Resources.MLM.Statistics%></h3>
<ul>
    <li class="icn_settings">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/NewRegisterStatistics.aspx"
            meta:resourcekey="HyperLinkResource27" Text="New Register Statitics"></asp:HyperLink></li>
    <li class="icn_settings">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/ResellerSellings.aspx"
            meta:resourcekey="HyperLinkResource28" Text="Sellings of a Reseller"></asp:HyperLink></li>
    <li class="icn_settings">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/ProductSoldStatistics.aspx"
            meta:resourcekey="HyperLinkResource29" Text="How Many Times a Product was sold"></asp:HyperLink></li>
</ul>
<h3>
    <%=Resources.MLM.Admin %></h3>
<ul class="toggle">
    <li class="icn_settings">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/CommonSettings.aspx" meta:resourcekey="HyperLinkResource30"
            Text="Common Settings"></asp:HyperLink></li>
    <li class="icn_security">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/ChangeMyPassword.aspx"
            meta:resourcekey="HyperLinkResource31" Text="Change Password"></asp:HyperLink></li>
    <li class="icn_jump_back">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/Logout.aspx" meta:resourcekey="HyperLinkResource32"
            Text="Logout"></asp:HyperLink></li>
</ul>
<%}
  else
  {
%>
<h3>
    <%=Resources.MLM.List %></h3>
<ul class="toggle">
    <li class="icn_photo">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/News.aspx" meta:resourcekey="HyperLinkResource33"
            Text="News"></asp:HyperLink></li>
    <li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/Products.aspx" meta:resourcekey="HyperLinkResource34"
            Text="Product Shop"></asp:HyperLink></li>
    <li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/MyStock.aspx" meta:resourcekey="HyperLinkResource35"
            Text="My Product Stock"></asp:HyperLink></li>
    <li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/MyOrder.aspx" meta:resourcekey="HyperLinkResource36"
            Text="My Order"></asp:HyperLink></li>
    <li class="icn_tags">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/MyBonus.aspx" meta:resourcekey="HyperLinkResource37"
            Text="My Bonus"></asp:HyperLink></li>
    <li class="icn_categories">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/MyHierarchy.aspx" meta:resourcekey="HyperLinkResource38"
            Text="My User Hierarchy"></asp:HyperLink></li>
    <li class="icn_categories">
        <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/AdminCP/Pages/BonusDetailByMonthRecursive.aspx"
            meta:resourcekey="HyperLink1Resource1" Text="My Bonus
        Detail By Month"></asp:HyperLink></li>
           <li class="icn_categories">
        <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="~/AdminCP/Pages/Shippingfee.aspx"
            meta:resourcekey="HyperLinkResource24323233232354dc3" Text="Shipping Fee"></asp:HyperLink></li>
    <%if(MLM.AdminCP.Permission.GetCurrentRole()!=4)
      {%>
    <li class="icn_categories">
        <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/AdminCP/Pages/CreateBill.aspx"
            meta:resourcekey="HyperLinkResource2435" Text="Create new bill"></asp:HyperLink></li>
    <li class="icn_categories">
        <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="~/AdminCP/Pages/CreatedBill.aspx"
            meta:resourcekey="HyperLinkResource243232335" Text="Created bill"></asp:HyperLink></li>
            <% } %>
             <li class="icn_categories">
        <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/AdminCP/Pages/Marketingplan.aspx"
            meta:resourcekey="HyperLinkResource243232332323543" Text="Marketing plan"></asp:HyperLink></li>

</ul>
<h3>
    <%=Resources.MLM.Action %></h3>
<ul class="toggle">
    <li class="icn_security">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/MyProfile.aspx" meta:resourcekey="HyperLinkResource39"
            Text="My Profile"></asp:HyperLink></li>
    <li class="icn_security">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/ChangeMyPassword.aspx"
            meta:resourcekey="HyperLinkResource40" Text="Change Password"></asp:HyperLink></li>
    <li class="icn_profile">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/RecommendUser.aspx" meta:resourcekey="HyperLinkResource41"
            Text="Recommend User"></asp:HyperLink></li>
    <li class="icn_jump_back">
        <asp:HyperLink runat="server" NavigateUrl="~/AdminCP/Pages/Logout.aspx" meta:resourcekey="HyperLinkResource42"
            Text="Logout"></asp:HyperLink></li>
</ul>
<%
    } %>